package cn.cjx.org.mapper;

import cn.cjx.basic.mapper.BaseMapper;
import cn.cjx.basic.vo.ShopVo;
import cn.cjx.org.domain.Shop;
import cn.cjx.org.query.ShopQuery;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author laoyang
 * @since 2022-04-29
 */
public interface ShopMapper extends BaseMapper<Shop> {

    /**
     * 根据店铺名称 查询店铺
     * @param name
     * @return
     */
    Shop loadByName(String name);

	List<Shop> queryShops(ShopQuery query);

	List<ShopVo> loadEcharts();
}
